//
//  RecordWork_Medel.m
//  K-Music
//
//  Created by apple on 16/1/17.
//  Copyright © 2016年 CHUN. All rights reserved.
//

#import "RecordWork_Medel.h"

@implementation RecordWork_Medel
+ (NSDictionary *)replacedKeyFromPropertyName
{
    return @{
             @"aid"   : @"id",
             @"descriptionD" : @"description"
             };
    
}

-(void)initDic:(NSDictionary *)d{
    self.avatar = [d objectForKey:@"avatar"];
    self.chorusUser = [d objectForKey:@"chorusUser"];
    self.heat = [d objectForKey:@"heat"];
    self.aid = [d objectForKey:@"aid"];
    self.isChorus = [d objectForKey:@"isChorus"];
    self.userId = [d objectForKey:@"userId"];
    self.descriptionD = [d objectForKey:@"description"];
    self.name = [d objectForKey:@"name"];
    self.pictureUrl = [d objectForKey:@"pictureUrl"];
    self.size = [d objectForKey:@"size"];
    self.songId = [d objectForKey:@"songId"];
    self.totalGift = [d objectForKey:@"totalGift"];
    self.totalPlay = [d objectForKey:@"totalPlay"];
    self.totalPlayMonthly = [d objectForKey:@"totalPlayMonthly"];
    self.totalShare = [d objectForKey:@"totalShare"];
    self.type = [d objectForKey:@"type"];
    self.url = [d objectForKey:@"url"];
    self.userId = [d objectForKey:@"userId"];
}
@end
